package com.zhixiang.xaec.service.safebase.relatedparty.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.relatedparty.RelatedPartyProtocolDao;
import com.zhixiang.xaec.entity.safebase.relatedparty.RelatedPartyProtocol;
import com.zhixiang.xaec.service.safebase.relatedparty.RelatedPartyProtocolService;

@Service
public class RelatedPartyProtocolServiceImpl extends BaseServiceImpl<RelatedPartyProtocol, Long> implements RelatedPartyProtocolService{

	@Override
	public String delete(String[] ids) {
		for (String id:ids) {
			getDao().remove(Long.valueOf(id));
		}
		return null;
	}

	@Override
	@Resource(type=RelatedPartyProtocolDao.class)
	public void setBaseDao(BaseDao<RelatedPartyProtocol, Long> dao) {
		setDao(dao);
		
	}

	

}
